package zt.song.shopping.service;

import zt.song.shopping.domain.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import zt.song.shopping.domain.Orders;
import zt.song.shopping.domain.ShoppingCart;
import zt.song.shopping.domain.vo.GoodsVo;

import java.util.List;

/**
* @author 宋伟宁
* @description 针对表【t_goods】的数据库操作Service
* @createDate 2023-12-06 10:40:51
*/
public interface GoodsService extends IService<Goods> {

    boolean pay(int userid,Integer total, List<ShoppingCart> shoppingCart);

    List<GoodsVo> showHistory(int userid);
}
